STEP 5: This time, our if statement will have the program do something if the player chooses paper.

  • Go to . Drag if into the bottom of your code.
  • Change the test value to "paper".
  • Go to . Drag Paper into your if statement.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)